package com.burgeon.backend.EnterpriseWeChat.service;


import com.burgeon.backend.SHOPBACKEND.entity.WxChatImage;
import com.burgeon.backend.SHOPBACKEND.entity.vip.Vip;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
import java.util.Map;

public interface EWChatService {
//    String processRequest(HttpServletRequest request) throws UnsupportedEncodingException;
    //安卓给微信发送文本消息
     void messAndroid(String context, String openId,String token,String msgtype);
    //发送图片
    void messAndroidImage(String context, String openId,String token,String msgtype);
    /**上传聊天图片*/
    WxChatImage upWeChatImage(MultipartFile file, String token);


    /**
     * ERP修改是否有未读消息
     */
    void  UpVipUnread(String openID, String unread, String type, String state, String content, Vip vip, String msgType, String token);

    void CreteVipCode(String openId, String type, String employeeName, String hrOpenid, String state, String content, String token);

    //接收微信小程序用户消息
    String acceptMessage(Map<String, String> requestMap, HttpServletResponse response, String token);

    void messCopWeChat(String context, String openId, String daoId, String token,String msgtype);




    //安卓给微信发送图片信息
    //  void messImagAndroid();

//    com.alibaba.fastjson.JSONObject getSendCondition(String startTime, String endTime) throws ParseException;
//
//     List<String> getAllWeiXinUser();
//
//    //public List getWeiXinInfo(String access_token, List open_id);
//
//    WeiXinUser getUserInfo(String accessToken, String openId);

    //获取微信公众号的所有用户的信息
//         void getAllUsersInfo();


}
